<div class="content">
<h1>Danh sách Lịch - MenuTop
<a class="buttonthem" href="<?php echo base_url()?>danhsachmenu/viewaddlich">Thêm lịch</a>
</h1>
<table id="table" style="font-size: 12px;"> 
	<thead> 
		<tr> 
			<th>Số thứ tự</th> 
			<th>Tên lịch làm việc</th> 
			<th>Sắp xếp</th> 			 
			<th>Sửa</th> 
			<th>Xóa</th> 
		</tr> 
	</thead> 
	<tbody> 
	<?php 
	 	$stt = 0;
	 	foreach($dslich as $lich){
	 		$stt++;
	 		$menu = $lich->ten_lich;
	 		$order = $lich->order_lich;
	 		$id_lich = $lich->id_danhsachlich;
	 	?>
	 	<tr class="gradeX"> 	 	
			<td align="center"><?php echo $stt?></td> <!-- so thu tu -->
			<td><?php echo $menu?></td> <!-- menu tin tuc -->
			<td align="center"><?php echo $order?></td> <!-- sap xep -->			
			<td align="center"><a href="<?php echo site_url('danhsachmenu/vieweditlich/'.$id_lich)?>">Sửa</a></td> <!-- sua -->
			<td align="center"><a href="<?php echo site_url('danhsachlich/del/'.$id_lich)?>">Xóa</a></td> <!-- xoa -->		
		</tr> 
	<?php }?>
	</tbody> 
</table>
<div style="clear:both"></div>
</div></div>